package com.gang.ssm.bos.system.bean;

import java.util.ArrayList;
import java.util.List;

import org.apache.shiro.crypto.hash.SimpleHash;

public class Staff {
    private Integer id;

    private String name;

    private String telephone;

    private String haspda = "0";

    private String deltag = "0";

    private String station;

    private String standard;
    
    private List<Decidedzone> decidedzones = new ArrayList<Decidedzone>();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getHaspda() {
        return haspda;
    }

    public void setHaspda(String haspda) {
        this.haspda = haspda == null ? null : haspda.trim();
    }

    public String getDeltag() {
        return deltag;
    }

    public void setDeltag(String deltag) {
        this.deltag = deltag == null ? null : deltag.trim();
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station == null ? null : station.trim();
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard == null ? null : standard.trim();
    }
    
    public void setDecidedzones(List<Decidedzone> decidedzones) {
		this.decidedzones = decidedzones;
	}
    
    public List<Decidedzone> getDecidedzones() {
		return decidedzones;
	}
    

	public static void main(String[] args) {
		
		String hashAlgorithmName = "MD5";
		Object credentials = "12345";
		
		Object result = new SimpleHash(hashAlgorithmName, credentials);
		System.out.println(result);
	}
}